package com.example.listeners;

import android.view.View;
import android.view.View.OnClickListener;

import com.example.event.Event;
import com.example.event.OnClickEvent;
import com.example.handler.ClientHandler;

public class MyOnClickListener extends MyListener implements OnClickListener {

	public MyOnClickListener(ClientHandler client) {
		super(client);
	}
	
	@Override
	public void onClick(View arg0) {
		// TODO also onClickEvent is created here!
		// OnClickEvent
		Event clickEvent = new OnClickEvent();
		client.eventOccured(clickEvent);
	}
}
